package com.xykj.deploy.login.service;

import com.xykj.deploy.login.entity.UserInfo;
import jakarta.servlet.http.HttpServletResponse;

/**
 * @author ethan
 */
public interface UserService {

    String login(UserInfo user, HttpServletResponse response);

    boolean validateToken(String token);

    void logout(String token);

    UserInfo getUserByToken(String token);

    UserInfo updateUser(UserInfo userUpdateInfo);
}
